home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 1
/
CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso
/
Aminet
/
comm
/
tcp
/
AmiTCPsdk_40.lha
/
AmiTCP-4.0
/
src
/
netlib
/
ioctl.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-09-29
|
614b
|
29 lines
RCS_ID_C="$Id: ioctl.c,v 4.1 1994/09/29 23:09:02 jraja Exp $";
/*
* ioctl.c - set file control information
*
* Copyright © 1994 AmiTCP/IP Group,
* Network Solutions Development Inc.
* All rights reserved.
*/
#include <sys/param.h>
#include <sys/socket.h>
int ioctl(int fd, unsigned int request, char *argp)
{
int success;
/*
* IoctlSocket will return EBADF if the d is not socket
*/
success = IoctlSocket(fd, request, argp);
/*
* Maybe the EBADF should be converted to EINVAL if the fd is an usual file?
*/
return success;
}